home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / VTIME.DIR / 00056_Script_startmovie < prev    next >
Text File  |  1995-09-12  |  642b  |  24 lines

  1. Global gBtn17, gBtn16, gWhatMovie, gCrossed, gNewMarker, gTheHelpIsOn,gReInitGlobals
  2.  
  3. on StartMovie
  4.   set gBtn16 = birth(script "a3StateButton", 46, 1931, "SV141819.AIF", "CrossETime", "HandCursor")
  5.   set gBtn17 = birth(script "a3StateButton", 47, 1925, "SV141819.AIF", "CrossATime", "HandCursor")
  6.   set gWhatMovie = "VikingW.dir"
  7.   if gReInitGlobals = 1 then
  8.     GlobalSetUpFromTheatre
  9.     set gReInitGlobals = 0
  10.   end if
  11.   VGlobalsSetUpTime
  12.   set gTheHelpIsOn = 0
  13. end
  14.  
  15. on StopMovie
  16.   sound stop 2
  17.   hidecontrol (gBtn16)
  18.   hidecontrol (gBtn17)
  19.   set gBtn16 = 0  
  20.   set gBtn17 = 0
  21.   unload 1, 20
  22.   set gCrossed = 1
  23. end
  24.